package com.maslyk.invitation.exception;

public class LogicalException extends Exception
{
	private static final long serialVersionUID = 1L;
	private String header;

    public LogicalException(Throwable e)
    {
         super(e);
    }
    
    public LogicalException(String errorMessage)
    {
        super(errorMessage);
    }
    
    public LogicalException(String header, Throwable e)
    {
        super(e);
        this.header = header;
    }
    
    public LogicalException(String header, String detailMessage)
    {
        super(detailMessage);
        this.header = header;
    }
    
    public String getHeader()
    {
        return header;
    }
}
